<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="head.html"/>
</head>
<body>
	<div id="head"><h1>Renndatenbank</h1></div>
	<jsp:include page="menu.html"/>
	<div id="content">
		<h2><c:out value="${title}"/></h2>
		<p><c:out value="${message}"/></p>
		<form action="SaveRennenKonfig.s" method="get">
			<input type="hidden" name="rennenId" value='<c:out value="${id}"/>'/>
			<table class="listing">
				<colgroup>
					<col class="buttoncell"/>
					<col/>
					<col/>
					<col/>
					<col/>
					<col/>
				</colgroup>
				<tbody>
					<tr>
						<th></th>
						<th>Name</th>
						<th>Vorname</th>
						<th>Geschlecht</th>
						<th>Telefon</th>
						<th>DSVNr</th>
					</tr>
					<c:forEach items="${alleRennlaeufer}" var="rennlaeufer">
						<tr>
							<td><input type="checkbox" name="rennlaeuferId" value='<c:out value="${rennlaeufer.id}"/>'/></td>
							<td><c:out value="${rennlaeufer.nachname}"/></td>
							<td><c:out value="${rennlaeufer.vorname}"/></td>
							<td><c:out value="${rennlaeufer.geschlecht}"/></td>
							<td><c:out value="${rennlaeufer.telefon}"/></td>
							<td><c:out value="${rennlaeufer.dsvnr}"/></td>
						</tr>
					</c:forEach>
					<tr><td colspan="6" align="right"><input type="submit" value="Rennen konfigurieren!"/></td></tr>
				</tbody>
			</table>
		</form>
	</div>
</body>
</html>  